/**
 * Filename PatientReqDto.java 2021年01月05日
 * Copyright  Ehome Co.Ltd. All Rgiths Reserved.
 *
 * @author wyc
 */
package com.ehome.poct.base.api.dto.log;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @description 硬件版本请求DTO
 * @author 瑶苏
 * @create 2021/11/16
 **/
@Data
public class UploadSyncLogMqttDTO {

    @ApiModelProperty("类型")
    private Integer type;
    
    @ApiModelProperty("标题")
    private String title;
    
    @ApiModelProperty("发布时间")
    private String publishTime;
    
    @ApiModelProperty("发布人")
    private String pubAuthor;

    @ApiModelProperty("包名")
    private String receivePackageId;
    
    @ApiModelProperty("data")
    private MqttData data = new MqttData();
    
    @Data
    public static class MqttData {

        @ApiModelProperty("oss 路径")
        private List<String> ossPath;

        @ApiModelProperty("0 默认文件/ 1文件夹")
        private Integer ossPathType;

        @ApiModelProperty("桶块位置")
        private String bucketName;

        @ApiModelProperty("sno")
        private String sno;

        @ApiModelProperty("dataId")
        private Long dataId;
   }
}